<!-- target: equipmentForm(master = formPage) -->
<!-- block: crumb -->
    <!-- import: equipmentFormCrumb -->
<!-- /block -->
<!-- block: formMain -->
    <!-- import: equipmentFormMain -->
<!-- /block -->

<!-- target: equipmentFormCrumb(master = crumb) -->
<!-- block: path -->
    <span>设备</span>
    <span><!-- if: ${formType} === 'create' -->新增<!-- else: -->编辑<!-- /if -->设备</span>
<!-- /block -->

<!-- target: equipmentFormMain(master = customFormView) -->
<!-- block: sections -->
    <!-- import: equipmentBaseContent -->
<!-- /block -->
<!-- block: submitSection -->
<button type="submit" data-ui-type="Button" data-ui-id="submit" data-ui-group="submit" data-ui-variants="warning wide" class="submit-button">确认提交</button>
<!-- /block -->

<!-- target: equipmentBaseContent -->
<section class="form-section">
    <!--<div class="ui-form-row">-->
        <!--&lt;!&ndash; use:-->
             <!--textboxField(-->
                 <!--field = 'id',-->
                 <!--title = '设备ID',-->
                 <!--width = 300,-->
                 <!--mode = 'textarea'-->
             <!--)-->
         <!--&ndash;&gt;-->
    <!--</div>-->

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'name',
                title = '设备名称',
                width = 300,
                required = true
            )
        -->
    </div>

    <!-- if: ${formType} === 'create' -->
    <div class="ui-form-row">
        <!-- use:
             textboxField(
                 field = 'sbNo',
                 title = '设备编号',
                 width = 300,
                 mode = 'textarea',
                 required = true
             )
         -->
    </div>
    <!-- elif: ${formType} === 'update' -->
    <div class="ui-form-row">
        <!-- use:
             textboxField(
                 field = 'sbNo',
                 title = '设备编号',
                 width = 300,
                 mode = 'textarea',
                 required = true,
                 disabled = true
             )
         -->
    </div>
    <!-- /if -->

    <div class="ui-form-row">
        <!-- use:
             textboxField(
                 field = 'sbFormat',
                 title = '设备规格',
                 width = 300,
                 mode = 'textarea'
             )
         -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'price',
                title = '设备价格',
                width = 300,
                mode = 'textarea',
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'reportPrice',
                title = '报告价格',
                width = 300,
                mode = 'textarea',
                required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'nowaddress',
                title = '当前地址',
                width = 300,
                mode = 'textarea'
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'addressname',
                title = '存放地址',
                width = 300,
                mode = 'textarea'
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'longitude',
                title = '位置经度',
                width = 300,
                mode = 'textarea',
                 required = true
            )
        -->
    </div>

    <div class="ui-form-row">
        <!-- use:
            textboxField(
                field = 'latitude',
                title = '位置纬度',
                width = 300,
                mode = 'textarea',
                 required = true
            )
        -->
    </div>
    
    <div class="ui-form-row">
        <!-- use:
            timeField(
                dateField = 'rktime',
                title = '上线时间',
                required = true
            )
        -->
    </div>


</section>
